package com.es.www.absfactory.factory;

import com.es.www.absfactory.airConditioner.AirConditioner;
import com.es.www.absfactory.airConditioner.MideaAirConditioner;
import com.es.www.absfactory.Fridge.Fridge;
import com.es.www.absfactory.Fridge.MideaFridge;

/**
 * @Created by michangtao
 * @Date 2022/5/11 16:45
 * @Description
 */
public class MideaFactory implements AbstractFactory{
    @Override
    public Fridge createFridge() {
        return new MideaFridge();
    }

    @Override
    public AirConditioner createAirConditioner() {
        return new MideaAirConditioner();
    }
}
